﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FellowManager.aspx.cs" Inherits="sysadmin_SystemInfo_FellowManager" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right">
        <tr>
            <td class="tree-titbg_left">
                <asp:Label ID="lbl_InfoTitle_FollewManager" runat="server" Text="友情链接管理"></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="btnbg">
        <tr>
            <td>
                <asp:Button ID="btn_Add" runat="server" Text="" CssClass="inputBotton2" OnClick="btn_Add_Click" />
            </td>
        </tr>
    </table>
    <asp:Repeater ID="rptUser" runat="server" OnItemCommand="rptUser_ItemCommand" OnItemDataBound="rpt_ItemDataBound">
        <HeaderTemplate>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                <tr>
                    <th>
                        &nbsp;
                    </th>
                    <th>
                        <asp:LinkButton ID="LinkButton2" runat="server" CommandName="orderby" CommandArgument=" StudentName "><%=GetLanageValueByKey("AddFellow_msg_2", PowerCreator.LMS.Language.LanagetItemType.Page)%></asp:LinkButton>
                    </th>
                    <th>
                        <asp:LinkButton ID="LinkButton3" runat="server" CommandName="orderby" CommandArgument=" DepartmentName ">
                        <%=GetLanageValueByKey("AddFellow_msg_6", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                        <!-- 所属班级--></asp:LinkButton>
                    </th>
                    <th>
                        <%=GetLanageValueByKey("btn_ManagerQuestion_Work", PowerCreator.LMS.Language.LanagetItemType.Page)%>&nbsp;
                        <!-- 操作-->
                    </th>
                </tr>
        </HeaderTemplate>
        <ItemTemplate>
            <tr>
                <td>
                    <asp:CheckBox ID="chkSelect" runat="server" />
                    <asp:Label ID="lblid" runat="server" Text='<%#Eval("fellowID")%>' Visible="False"></asp:Label>
                </td>
                <td>
                    <%#Eval("fellowName")%>
                    &nbsp;
                </td>
                <td>
                    <%#Eval("fellowAddress")%>
                    &nbsp;
                </td>
                <td>
                    <asp:LinkButton ID="lnkbtn_Add" runat="server" CommandName="ledadd" CommandArgument='<%#Eval("fellowID")%>'> <%=GetLanageValueByKey("btn_AddNew", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                        <!--添加--></asp:LinkButton>
                    <asp:LinkButton ID="lnkbtn_editor" runat="server" CommandName="leditor" CommandArgument='<%#Eval("fellowID")%>'><%=GetLanageValueByKey("btn_ManagerQuestion_Edit", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                        <!--编辑--></asp:LinkButton>
                    <asp:LinkButton ID="lnkbtn_del" runat="server" CommandName="ldel" CommandArgument='<%#Eval("fellowID")%>'><%=GetLanageValueByKey("btn_ManagerQuestion_Delete", PowerCreator.LMS.Language.LanagetItemType.Page)%>
                            <!-- 删除--></asp:LinkButton>
                    <asp:Label ID="lbl_msg" runat="server" Text="" ForeColor="Red"></asp:Label>
                </td>
            </tr>
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td align="center">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center" OnPageChanged="AspNetPager1_PageChanged"
                    ShowCustomInfoSection="Left" Width="100%" meta:resourceKey="AspNetPager1" Style="font-size: 14px"
                    InputBoxStyle="width:19px" CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%"
                    FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                </webdiyer:AspNetPager>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
